<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;

class ProductNameModel extends BaseModel
{
    use SoftDeletes;
    
    //    protected $guarded = [];
    protected $fillable = ['name', 'pid', 'en_name', 'product_code', 'desc', 'gb_code', 'parent_product_code', 'industry', 'level', 'variety_name'];
    
    protected $table    = 'product_name';
    
    const INDUSTRY = [
        1 => '种植业',
        2 => '畜牧业',
        3 => '渔业',
        4 => '其他业',
    ];
}

